package com.dongdong.pojo;

import java.io.Serializable;
import java.util.List;
public class PageBean<T> implements Serializable {
	private Long totalCount;//总条数
	private Integer totalPage;//总页数
	private Integer startIndex;// 起始索引
	private Integer pageSize;// 每页显示条数 5
	private Integer pageNumber;// 当前页数 1
	private List<T> list;//

	public Long getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(Long totalCount) {
		this.totalCount = totalCount;
	}

	public Integer getTotalPage() {
		return totalPage;
	}

	public void setTotalPage(Integer totalPage) {
		this.totalPage = totalPage;
	}

	public Integer getStartIndex() {
		return startIndex;
	}

	public void setStartIndex(Integer startIndex) {
		this.startIndex = startIndex;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Integer getPageNumber() {
		return pageNumber;
	}

	public void setPageNumber(Integer pageNumber) {
		this.pageNumber = pageNumber;
	}

	public List<T> getList() {
		return list;
	}

	public void setList(List<T> list) {
		this.list = list;
	}

	public PageBean(Long totalCount, Integer totalPage, Integer startIndex, Integer pageSize, Integer pageNumber, List<T> list) {
		this.totalCount = totalCount;
		this.totalPage = totalPage;
		this.startIndex = startIndex;
		this.pageSize = pageSize;
		this.pageNumber = pageNumber;
		this.list = list;
	}

	public PageBean() {
	}
}
